package com.ruoyi.device.mapper;

import com.ruoyi.device.domain.ElectricFence;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.device.domain.req.fence.ElectricFenceReq;
import com.ruoyi.device.domain.resp.fence.ElectricFenceResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 11452
* @description 针对表【electric_fence(电子围栏表)】的数据库操作Mapper
* @createDate 2023-12-02 11:47:08
* @Entity com.ruoyi.device.domain.ElectricFence
*/
public interface ElectricFenceMapper extends BaseMapper<ElectricFence> {

    List<ElectricFenceResp> search(@Param(value = "req") ElectricFenceReq req);

    ElectricFenceResp findById(@Param(value = "id") Long id);

}




